#include <stdio.h>
#include <stdlib.h>

int main()
{
	int arr[] = { 1, 2, 3, 4 };
	int* a = arr;
	int* b = &arr[0];
	printf("---------------------------------\n");
	printf("arr\n");
	for (int i = 0; i < 4; i++)
	{
		printf("%d\n", arr[i]);
	}
	printf("---------------------------------\n");
	printf("a\n");
	for (int i = 0; i < 4; i++)
	{
		printf("%d\n", a[i]);
	}
	printf("---------------------------------\n");
	printf("b\n");
	for (int i = 0; i < 4; i++)
	{
		printf("%d\n", b[i]);
	}
	printf("---------------------------------\n");
	system("pause");
	printf("hello world\n");
	return 0;
}